package com.songshuai.webapi.jobapi.service;

import java.util.List;

/**
 * @Auther: Administrator
 * @Date: 2018/11/1 0001 19:27
 * @Description:
 */
public interface CourseScheduleService {
    /**
     * 同步课表数据
     * @param isFullDay
     * @param beginTime
     * @param endTime
     * @param isOnlySchedule
     */
    void SyncCourseSchedule(Boolean isFullDay,String beginTime,String endTime,Boolean isOnlySchedule);

    /**
     * 根据课表数据id
     * @param lessonIds
     */
    void SyncScheduleByLessonIds(List<Integer> lessonIds);

    /**
     * 根据unit同步课表数据
     * @param unit
     */
    void SyncScheduleByUnit(Integer unit);

    /**
     * 移除课表数据
     * @param lessonIds
     * @param gw_id
     */
    void RemoveScheduleByLessonIds(List<Integer> lessonIds,Long gw_id);

    /**
     * 修改官网id
     * @param oldId
     * @param newId
     */
    void changeGwId(Long oldId,Long newId,Boolean isSyncNew);
}
